package com.dome.model;


public class Resource {

  private long id;
  private String code;
  private String name;
  private String type;
  private String url;
  private long menuId;
  private long appId;
  private long parentId;
  private String method;
  private String description;
  private String createUserId;
  private String createUserName;
  private long createTime;
  private String updateUserId;
  private String updateUserName;
  private long updateTime;
  private String dr;

  private String menuCode;
  private String menuName;


  public String getMenuCode() {
    return menuCode;
  }

  public void setMenuCode(String menuCode) {
    this.menuCode = menuCode;
  }

  public String getMenuName() {
    return menuName;
  }

  public void setMenuName(String menuName) {
    this.menuName = menuName;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }


  public long getMenuId() {
    return menuId;
  }

  public void setMenuId(long menuId) {
    this.menuId = menuId;
  }


  public long getAppId() {
    return appId;
  }

  public void setAppId(long appId) {
    this.appId = appId;
  }


  public long getParentId() {
    return parentId;
  }

  public void setParentId(long parentId) {
    this.parentId = parentId;
  }


  public String getMethod() {
    return method;
  }

  public void setMethod(String method) {
    this.method = method;
  }


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }


  public String getCreateUserId() {
    return createUserId;
  }

  public void setCreateUserId(String createUserId) {
    this.createUserId = createUserId;
  }


  public String getCreateUserName() {
    return createUserName;
  }

  public void setCreateUserName(String createUserName) {
    this.createUserName = createUserName;
  }


  public long getCreateTime() {
    return createTime;
  }

  public void setCreateTime(long createTime) {
    this.createTime = createTime;
  }


  public String getUpdateUserId() {
    return updateUserId;
  }

  public void setUpdateUserId(String updateUserId) {
    this.updateUserId = updateUserId;
  }


  public String getUpdateUserName() {
    return updateUserName;
  }

  public void setUpdateUserName(String updateUserName) {
    this.updateUserName = updateUserName;
  }


  public long getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(long updateTime) {
    this.updateTime = updateTime;
  }


  public String getDr() {
    return dr;
  }

  public void setDr(String dr) {
    this.dr = dr;
  }

  @Override
  public String toString() {
    return "Resource{" +
            "id=" + id +
            ", code='" + code + '\'' +
            ", name='" + name + '\'' +
            ", type='" + type + '\'' +
            ", url='" + url + '\'' +
            ", menuId=" + menuId +
            ", appId=" + appId +
            ", parentId=" + parentId +
            ", method='" + method + '\'' +
            ", description='" + description + '\'' +
            ", createUserId='" + createUserId + '\'' +
            ", createUserName='" + createUserName + '\'' +
            ", createTime=" + createTime +
            ", updateUserId='" + updateUserId + '\'' +
            ", updateUserName='" + updateUserName + '\'' +
            ", updateTime=" + updateTime +
            ", dr='" + dr + '\'' +
            ", menuCode='" + menuCode + '\'' +
            ", menuName='" + menuName + '\'' +
            '}';
  }
}
